################################################################################
  "Presidential Endorsements as Voter Cues: 
   Evidence from the 2022 Midterm Elections."
   Authors:        Nathan T. Barron, Peter T. McLaughlin, H. Benjamin Ashton,
                   III, Rachel Blum, Charles J. Finocchiaro, Michael H. Crespin
   Published in:   Political Behavior
################################################################################



### REPOSITORY STRUCTURE

PEVC/
├─ src/
│  ├─ initialize.R
│  ├─ manuscript.R
│  ├─ appendix.R
├─ data/
│  ├─ ces-team.sav
│  ├─ ces-common-plus.csv
│  ├─ hrc22_full.csv
├─ README.txt
├─ renv.lock



### OVERVIEW

This repository includes reproduction files for Barron et al. (2025).

There are three annotated R scripts. The code that cleans the data is contained
in one file: `initialize.R`. Code related to figures or analyses presented in 
the manuscript can be found in `manuscript.R` while the code for those presented
in the appendix can be found in `appendix.R`. 

The primary (i.e. experimental) data used in this project were collected on a 
team module of the 2022 Cooperative Election Study; these data are available in 
`ces-team.sav`. The secondary (i.e. observational) data used in the project are
primarily from the common content of the 2022 Cooperative Election Study. 
Additional information at the US House district-level is appended to the CES 
common content. Tese data are included in `ces-common-plus.sav`. Additionally, 
the appendix uses an auxiliary data file `hrc22_full.csv` that contains relevant
by-district information.

Finally, there is a lock file (`renv.lock`) that contains all information 
necessary for reproducing the computing environment in R either manually or via
the `renv` package in R.



### CONTACT
For information about the contents of this repository, please contact the 
corresponding author.